package com.cqu.lpss.service;

import com.cqu.lpss.pojo.Contestants;
import com.cqu.lpss.pojo.Image;
import com.cqu.lpss.pojo.PageBean;
import com.cqu.lpss.pojo.Professors;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface ContestantsInterface {
    public Contestants login(Contestants contestant);
    public Contestants findById(String ConId);
    public PageBean<Contestants> list(int currentPage, // 当前页码
            int pageSize, // 每页显示数量
            String  conId,
            String  conName,
            Integer conLowAge,
            Integer conHighAge,
            Integer conGender,
            String  conEmail,
            String  conPhone,
            Integer conClass
    );
    public Contestants findByPhone(String phone);
    public int insert(Contestants contestants);
    public int PersonCenter_upload(String newpassword,String phone,String email, String Id);
    public List<Map<Integer, Long> > UploadCon_GroupByClass();
    public int totalnum();
    public List<Map<Integer,Long>> passfirstPrj_groupByClass();
}
